<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="css/bootstrap.css" />
	<link rel="stylesheet" href="wall.css" />
	<title>修改文件夹</title>
	<script type="text/javascript" src="js/jquery.js"></script>
	<style type="text/css">
		body{
			background-image:url(img/scribble_light.png);
		}
		#form{
			margin-left:150px;
		}
	</style>
</head>
<body>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="#" class="brand">项目管理软件</a>
			</div>
		</div>
	</div>
	<div class="container" id="form">		
		<form class="form-horizontal" action="filetype.jspx?_m=edit_filetype&id=${filetype.id }" method="post" id="myform">
			<fieldset class="first-1">
				<div>
					<h3 style="height:80px;">修改文件夹</h3>
				</div>	
				<div class="control-group">
					<label class="control-label">文件夹名字</label>
					<div class="controls">
						<input type="text" name="name" id="filetypeid" class="span6" value="${filetype.name }">	
						<input type="hidden" name="userid" value="${user.id }" id="user"/>
					</div>
				</div>
				
				<div style="margin-left:200px;padding-top:30px">
					<button type="button" id="btn" class="btn btn-primary">保存</button>
					<a href="filetype.jspx"><button class="btn">返回</button></a> 
				</div>
			</fieldset>
		</form>
	</div>
	<script type="text/javascript">
		$(document).ready(function(){
			$("#btn").click(function(){
				var name = $("#filetypeid").val();
				
				$("#myform").submit();
			});
		});
	</script>
</body>
</html>